/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package onLineCmd;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author boomar
 */
public class ListeArticles {
    private List<Article> listeArticles;

    public ListeArticles() {
        listeArticles = new ArrayList<Article>();
    }

    public ListeArticles(List<Article> listeArticles) {
        this.listeArticles = listeArticles;
    }

    public List<Article> getListeArticles() {
        return listeArticles;
    }

    public void setListeArticles(List<Article> listeArticles) {
        this.listeArticles = listeArticles;
    }

    public void add(Article article){
        listeArticles.add(article);
    }
}
